from dianShiZhiBo import DianShiZhiBo
from youdian import YouDian
from utils import Utils
from xianggang import XiangGang
from functools import reduce

if __name__ == '__main__':
    youDian = YouDian()
    xianggang = XiangGang()
    xianggangLiveSource = xianggang.get_live_sources()
    live_sources = youDian.get_live_sources()
    live_sources.append(xianggangLiveSource)
    print(live_sources)
    data = Utils.distinct(live_sources, 'name')
    Utils.write_file(data)
